Amber

Sample job file for running a Amber job :

File Name : amber.cmd

#! /bin/bash

#PBS -l cput=02:00:00

#PBS -e errorfile.err

#PBS -o logfile.log

#PBS -l select=1:ncpus=1:ngpus=1

tpdir=`echo $PBS_JOBID | cut -f 1 -d .`

tempdir=$HOME/work/job$tpdir

mkdir -p $tempdir

cd $tempdir

cp -R $PBS_O_WORKDIR/* .

/gpuusers/sware/amber12/bin/pmemd.cuda -O -i md.in -o md.out -c eqf1.rst -r md.rst -p

AM_ind_wat.top -ref AM_ind_wat.crd -inf md.info

mv * $PBS_O_WORKDIR/.

rmdir $tempdir

In the command prompt, type the command, qsub amber.cmd